import axios from 'axios';

const API_BASE_URL = 'http://localhost:9205/api'; // 根据实际情况调整基础 URL

export const fetchData = (params) => {
  return axios.get(`${API_BASE_URL}/datas`, { params });
};
